package com.treasury.glasses.controller;

import javafx.beans.property.SimpleStringProperty;

/**
 * Class to collect data and load it into the DataView.
 * @author <a href="mailto:glasses@audienz.eu">Jean-Luc Burot</a>
 */

public class ActivityTableViewData {
    private final SimpleStringProperty date;
    private final SimpleStringProperty activity;
    
    ActivityTableViewData(String date, String activity) {
        this.date = new SimpleStringProperty(date);
        this.activity = new SimpleStringProperty(activity);
    }
    
    public String getDate() {
        return date.get();
    }
    
    public void setDate(String date) {
        this.date.set(date);
    }
    
    public String getActivity() {
        return activity.get();
    }
    
    public void setActivity(String activity) {
        this.activity.set(activity);
    }
}
